package cn.com.nes.mybatis.agent.maintenanceReminder.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cn.com.nes.mybatis.agent.maintenanceReminder.entity.MaintenanceReminder;
import cn.com.nes.site.entity.dto.maintenanceReminder.MaintenanceReminderDto;
import cn.com.nes.site.entity.vo.maintenanceReminder.MaintenanceReminderVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author nes
 */
public interface MaintenanceReminderMapper extends BaseMapper<MaintenanceReminder> {

    Integer addMaintenanceReminder(@Param("vo") MaintenanceReminderVo vo);

    List<MaintenanceReminderDto> queryMaintenanceReminder(Page page, @Param("vo") MaintenanceReminderVo vo);

    Integer deleteMaintenanceReminderById(@Param("vo") MaintenanceReminderVo vo);

    Integer updateMaintenanceReminder(@Param("vo") MaintenanceReminderVo vo);
}